module.exports = {
    publicPath: './',

    css: {
		loaderOptions: {
			postcss: {
				plugins: [
					require('postcss-px2rem')({
						// 把px单位换算成rem单位
						remUnit:37.5// 设计稿宽度的1/10
					})
				]
			}
		}
	},

    pluginOptions: {
      'style-resources-loader': {
        preProcessor: 'less',
        patterns: []
      }
    }
}
